package com.example.aircraftticketingsystemserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TransferFlight {
    private String flight1Id;
    private String flight2Id;
    private String flight1Number;
    private String flight1DepartureCity;
    private String flight1ArrivalCity;
    private String flight1DepartureAirport;
    private String flight1ArrivalAirport;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date flight1DepartureTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date flight1ArrivalTime;

    private String flight2Number;
    private String flight2DepartureCity;
    private String flight2ArrivalCity;
    private String flight2DepartureAirport;
    private String flight2ArrivalAirport;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date flight2DepartureTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date flight2ArrivalTime;
}
